package com.zhangyj.entitis;

import java.io.Serializable;

import javax.servlet.http.HttpServletRequest;

import com.zhangyj.util.Tools;

public class Jiaotan implements Serializable {
	private static final long serialVersionUID = 6537857621283904801L;
	private int tjid;
	private String yggh, kjmc, jllx, jlnr, jljy, jljd, jlsj,kjbh;

	public Jiaotan() {
		yggh = kjmc = jllx = jlnr = jljy = jljd = kjbh="";
		jlsj = Tools.getDateTime();
	}
	public Jiaotan(HttpServletRequest request) {
		yggh = Tools.getParameter(request, "yggh");
		 kjmc =  Tools.getParameter(request, "kjmc");
		 jllx =Tools.getParameter(request, "jllx");
		 jlnr =Tools.getParameter(request, "jlnr");
		 jljy =Tools.getParameter(request, "jljy");
		 jljd =Tools.getParameter(request, "jljd");
		 jlsj = Tools.getParameter(request, "jlsj");
		 kjbh = Tools.getParameter(request, "kjbh");
		 String id = Tools.getParameter(request, "tjid");
		 if (id.length() == 0) {
			 tjid = -1;
		 }
	}
	public int getTjId() {
		return tjid;
	}

	public void setTjId(int tjId) {
		this.tjid = tjId;
	}

	public String getYggh() {
		return yggh;
	}

	public void setYggh(String yggh) {
		this.yggh = yggh;
	}

	public String getKjmc() {
		return kjmc;
	}

	public void setKjmc(String kjmc) {
		this.kjmc = kjmc;
	}

	public String getJllx() {
		return jllx;
	}

	public void setJllx(String jllx) {
		this.jllx = jllx;
	}

	public String getJlnr() {
		return jlnr;
	}

	public void setJlnr(String jlnr) {
		this.jlnr = jlnr;
	}

	public String getJljy() {
		return jljy;
	}

	public void setJljy(String jljy) {
		this.jljy = jljy;
	}

	public String getJljd() {
		return jljd;
	}

	public void setJljd(String jljd) {
		this.jljd = jljd;
	}

	public String getJlsj() {
		return jlsj;
	}

	public void setJlsj(String jlsj) {
		this.jlsj = jlsj;
	}
	public int getTjid() {
		return tjid;
	}
	public void setTjid(int tjid) {
		this.tjid = tjid;
	}
	public String getKjbh() {
		return kjbh;
	}
	public void setKjbh(String kjbh) {
		this.kjbh = kjbh;
	}

}
